// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.core.znet;

public class ZNetSessionState {
    boolean bConnectionActive;
    boolean bConnecting;
    boolean bUsingRelay;
    long eP2PSessionError;
    long bytesQueuedForSend;
    long packetsQueuedForSend;
    long remoteIP;
    long remotePort;

    public String getDescription() {
        return "session active=\""
            + this.bConnectionActive
            + "\" connecting=\""
            + this.bConnecting
            + "\" relay=\""
            + this.bUsingRelay
            + "\" error=\""
            + this.eP2PSessionError
            + "\" bytes=\""
            + this.bytesQueuedForSend
            + "\" packets=\""
            + this.packetsQueuedForSend
            + "\" ip=\""
            + (255L & this.remoteIP >> 24)
            + "."
            + (255L & this.remoteIP >> 16)
            + "."
            + (255L & this.remoteIP >> 8)
            + "."
            + (255L & this.remoteIP)
            + "\" port=\""
            + this.remotePort
            + "\"";
    }
}
